package top.greatxiaozou.singleton;

/**
 * 最简单的饿汉式单例
 */
public class HungrySingletonClass {
    private static HungrySingletonClass instance = new HungrySingletonClass();
    private HungrySingletonClass(){

    }

    public static HungrySingletonClass getInstance(){
        return instance;
    }
}
